ERROR houses.py:396 local variable 'Order' referenced before assignment
ERROR houses.py:396 local variable 'Order' referenced before assignment
INFO houses.py:40  hit redis area_info
ERROR orders.py:121 (_mysql_exceptions.OperationalError) (1054, "Unknown column 'ih_order_info.trade_no' in 'field list'") [SQL: u'SELECT ih_order_info.create_time AS ih_order_info_create_time, ih_order_info.update_time AS ih_order_info_update_time, ih_order_info.id AS ih_order_info_id, ih_order_info.user_id AS ih_order_info_user_id, ih_order_info.house_id AS ih_order_info_house_id, ih_order_info.begin_date AS ih_order_info_begin_date, ih_order_info.end_date AS ih_order_info_end_date, ih_order_info.days AS ih_order_info_days, ih_order_info.house_price AS ih_order_info_house_price, ih_order_info.amount AS ih_order_info_amount, ih_order_info.status AS ih_order_info_status, ih_order_info.comment AS ih_order_info_comment, ih_order_info.trade_no AS ih_order_info_trade_no \nFROM ih_order_info \nWHERE ih_order_info.user_id = %s ORDER BY ih_order_info.create_time DESC'] [parameters: (3L,)]
WARNING _internal.py:87  * Debugger is active!
WARNING _internal.py:87  * Debugger is active!
ERROR orders.py:119 (_mysql_exceptions.OperationalError) (1054, "Unknown column 'ih_order_info.trade_no' in 'field list'") [SQL: u'SELECT ih_order_info.create_time AS ih_order_info_create_time, ih_order_info.update_time AS ih_order_info_update_time, ih_order_info.id AS ih_order_info_id, ih_order_info.user_id AS ih_order_info_user_id, ih_order_info.house_id AS ih_order_info_house_id, ih_order_info.begin_date AS ih_order_info_begin_date, ih_order_info.end_date AS ih_order_info_end_date, ih_order_info.days AS ih_order_info_days, ih_order_info.house_price AS ih_order_info_house_price, ih_order_info.amount AS ih_order_info_amount, ih_order_info.status AS ih_order_info_status, ih_order_info.comment AS ih_order_info_comment, ih_order_info.trade_no AS ih_order_info_trade_no \nFROM ih_order_info \nWHERE ih_order_info.user_id = %s ORDER BY ih_order_info.create_time DESC'] [parameters: (3L,)]
WARNING _internal.py:87  * Debugger is active!
WARNING _internal.py:87  * Debugger is active!
ERROR orders.py:122 (_mysql_exceptions.OperationalError) (1054, "Unknown column 'ih_order_info.trade_no' in 'field list'") [SQL: u'SELECT ih_order_info.create_time AS ih_order_info_create_time, ih_order_info.update_time AS ih_order_info_update_time, ih_order_info.id AS ih_order_info_id, ih_order_info.user_id AS ih_order_info_user_id, ih_order_info.house_id AS ih_order_info_house_id, ih_order_info.begin_date AS ih_order_info_begin_date, ih_order_info.end_date AS ih_order_info_end_date, ih_order_info.days AS ih_order_info_days, ih_order_info.house_price AS ih_order_info_house_price, ih_order_info.amount AS ih_order_info_amount, ih_order_info.status AS ih_order_info_status, ih_order_info.comment AS ih_order_info_comment, ih_order_info.trade_no AS ih_order_info_trade_no \nFROM ih_order_info \nWHERE ih_order_info.user_id = %s ORDER BY ih_order_info.create_time DESC'] [parameters: (3L,)]
